package com.yoda.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author itcast
 * @since 2023-05-15
 */
@TableName("ydd_advpos")
@ApiModel(value = "YddAdvpos对象", description = "")
@AllArgsConstructor
@NoArgsConstructor
public class YddAdvpos implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("广告位名称")
    private String advposname;

    @ApiModelProperty("广告位描述")
    private String advposdesc;

    @ApiModelProperty("广告位尺寸")
    private String advpossize;

    @ApiModelProperty("是否为默认数据，null表示不是，1表示是")
    private String defaultData;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAdvposname() {
        return advposname;
    }

    public void setAdvposname(String advposname) {
        this.advposname = advposname;
    }

    public String getAdvposdesc() {
        return advposdesc;
    }

    public void setAdvposdesc(String advposdesc) {
        this.advposdesc = advposdesc;
    }

    public String getAdvpossize() {
        return advpossize;
    }

    public void setAdvpossize(String advpossize) {
        this.advpossize = advpossize;
    }

    public String getDefaultData() {
        return defaultData;
    }

    public void setDefaultData(String defaultData) {
        this.defaultData = defaultData;
    }

    @Override
    public String toString() {
        return "YddAdvpos{" +
        "id=" + id +
        ", advposname=" + advposname +
        ", advposdesc=" + advposdesc +
        ", advpossize=" + advpossize +
        ", defaultData=" + defaultData +
        "}";
    }
}
